home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / repair / filesystem.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  40 lines

  1. /*  Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.     reiser4progs/COPYING.
  3.     
  4.     repair/filesystem.h -- reiserfs filesystem recovery structures 
  5.     and macros. */
  6.  
  7. #ifndef REPAIR_FILESYSTEM_H
  8. #define REPAIR_FILESYSTEM_H
  9.  
  10. #include <repair/repair.h>
  11. #include <reiser4/filesystem.h>
  12.  
  13. extern errno_t repair_fs_open(repair_data_t *repair, 
  14.                   aal_device_t *host_device,
  15.                   aal_device_t *journal_device);
  16.  
  17. extern errno_t repair_fs_replay(reiser4_fs_t *fs);
  18.  
  19. extern errno_t repair_fs_pack(reiser4_fs_t *fs, 
  20.                   reiser4_bitmap_t *bitmap, 
  21.                   aal_stream_t *stream);
  22.  
  23. extern reiser4_fs_t *repair_fs_unpack(aal_device_t *device, 
  24.                       reiser4_bitmap_t *bitmap,
  25.                       aal_stream_t *stream);
  26.  
  27. extern errno_t repair_fs_lost_key(reiser4_fs_t *fs, 
  28.                   reiser4_key_t *key);
  29.  
  30. extern errno_t repair_fs_check_backup(aal_device_t *device, 
  31.                       backup_hint_t *hint);
  32.  
  33. extern errno_t repair_fs_block_pack(aal_block_t *block, 
  34.                     aal_stream_t *stream);
  35.  
  36. extern aal_block_t *repair_fs_block_unpack(reiser4_fs_t *fs, 
  37.                        aal_stream_t *stream);
  38.  
  39. #endif
  40.